//---------------------------------------------------------------------------

#ifndef KART_PRIB_BALONH
#define KART_PRIB_BALONH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "cxContainer.hpp"
#include "cxControls.hpp"
#include "cxEdit.hpp"
#include "cxGraphics.hpp"
#include "cxGroupBox.hpp"
#include "cxLookAndFeelPainters.hpp"
#include "cxLookAndFeels.hpp"
#include <DB.hpp>
#include <DBCtrls.hpp>
#include "cxCalendar.hpp"
#include "cxDropDownEdit.hpp"
#include "cxMaskEdit.hpp"
#include "cxTextEdit.hpp"
#include "cxButtons.hpp"
#include <ActnList.hpp>
#include <Menus.hpp>
#include "DBAccess.hpp"
#include "IBC.hpp"
#include "MemDS.hpp"
//---------------------------------------------------------------------------
class TfrKART_PRIB_BALON : public TForm
{
__published:	// IDE-managed Components
	TcxGroupBox *gbVID_PRIB;
	TLabel *Label2;
	TLabel *Label3;
	TLabel *Label4;
	TDBLookupComboBox *cbVID;
	TDBLookupComboBox *cbMARKA;
	TDBLookupComboBox *cbMODEL;
	TcxGroupBox *gbPRIB1;
	TLabel *Label5;
	TLabel *Label6;
	TDBText *labProizv;
	TLabel *Label7;
	TLabel *Label8;
	TDBLookupComboBox *cbMESTO;
	TEdit *edZAV_NOM;
	TcxDateEdit *dtpDAT_VIP;
	TcxGroupBox *gbSTO;
	TLabel *Label9;
	TLabel *Label10;
	TDBLookupComboBox *cbTO;
	TcxDateEdit *dtpDAT_UST;
	TcxGroupBox *gbLIC;
	TLabel *Label12;
	TLabel *Label11;
	TEdit *edLIC;
	TEdit *edPLOMB;
	TcxButton *btSAVE;
	TActionList *ActionList1;
	TAction *Save;
	TAction *OTKL_PRIB;
	TIBCQuery *dsetVID;
	TIBCQuery *dsetMARKA;
	TIBCQuery *dsetMODEL;
	TIBCQuery *dsetMESTO;
	TIBCQuery *dsetTO;
	TIBCQuery *dsetKOD_PL;
	TIBCDataSource *dsVID;
	TIBCDataSource *dsMARKA;
	TIBCDataSource *dsMODEL;
	TIBCDataSource *dsMESTO;
	TIBCDataSource *dsTO;
	TIBCDataSource *dsKOD_PL;
	void __fastcall FormKeyPress(TObject *Sender, char &Key);
	void __fastcall cbVIDClick(TObject *Sender);
	void __fastcall FormShow(TObject *Sender);
	void __fastcall cbMARKAClick(TObject *Sender);
	void __fastcall cbMODELClick(TObject *Sender);
	void __fastcall edZAV_NOMKeyDown(TObject *Sender, WORD &Key,
          TShiftState Shift);
	void __fastcall dtpDAT_VIPKeyDown(TObject *Sender, WORD &Key,
          TShiftState Shift);
	void __fastcall cbTOClick(TObject *Sender);
	void __fastcall dtpDAT_USTKeyDown(TObject *Sender, WORD &Key,
          TShiftState Shift);
	void __fastcall SaveExecute(TObject *Sender);
	void __fastcall cbMESTOKeyDown(TObject *Sender, WORD &Key, TShiftState Shift);
	void __fastcall edPLOMBKeyDown(TObject *Sender, WORD &Key, TShiftState Shift);
private:	// User declarations
public:		// User declarations
int NOM;
String DOM;
	__fastcall TfrKART_PRIB_BALON(TComponent* Owner);
	void __fastcall TfrKART_PRIB_BALON::KOD_PRIB();
};
//---------------------------------------------------------------------------
extern PACKAGE TfrKART_PRIB_BALON *frKART_PRIB_BALON;
//---------------------------------------------------------------------------
#endif
